const s = '{ "name": "robin" }'

const json = JSON.parse(s)

console.log(json)
console.log(json.name)